package com.orangeumbrella;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.easylib.base.BaseActivity;

import butterknife.OnClick;

public class MainActivity extends BaseActivity {


    @Override
    public int getContentViewId() {
        return R.layout.activity_main;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void initVariable() {

    }

    @Override
    protected void processLogic(Bundle savedInstanceState) {

    }

    @OnClick({R.id.button1, R.id.button2, R.id.button3})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.button1:
                startActivity(new Intent(mContext, UserInfoActivity.class));
                break;
            case R.id.button2:
                startActivity(new Intent(mContext, CommunityActivity.class));
                break;
            case R.id.button3:
                startActivity(new Intent(mContext, MallServiceActivity.class));
                break;
        }
    }
}
